package com.css.fxfzysx.modules.vabStructure.entity;

import com.css.fxfzysx.modules.vabStructure.utils.DoubleDecimal;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * czt_crs_calcolumn_result
 * 钢筋混凝土柱计算结果
 */
@Data
@Table(name = "czt_crs_calcolumn_result")
@Entity
public class CztCrsCalColumnResult {
    @Id
    @Column(name = "cal_id")
    private String calId  ;

    /**
     * 建筑物id
     */
    @Column(name = "entirety_id")
    private String entiretyId ;
    /**
     * 关联钢筋混凝土参数信息
     */
    @Column(name = "ccpi_id")
    private String ccpiId  ;
    /**
     * 建筑物编号
     */
    @Column(name = "num")
    private String number ;


    /**
     * 框架柱的计算剪跨比 用来计算框架q
     */
    @Column(name = "lambda")
    private double lambda ;

    /**
     * 计算结果Nu 的值
     */
    @Column(name = "nu")
    @DoubleDecimal
    private double nu ;


    /**
     * 计算结果NL 的值
     */
    @Column(name = "nl")
    @DoubleDecimal
    private double nl ;

    /**
     *强梁弱柱型 中间计算值 muz 用来计算qcz ;
     */
    @Column(name = "muz")
    @DoubleDecimal
    private double muz ;

    /**
     * 强梁弱柱型 中间计算值 mlz 用来计算qcz ;
     */
    @Column(name = "mlz")
    @DoubleDecimal
    private double mlz ;


    /**
     * 对称配筋矩形截面偏压住 中间计算结果 MUcy 的值 用来计算qcz（框架q）
     */
    @Column(name = "mucys")
    @DoubleDecimal
    private double mucys ;

    /**
     * 对称配筋矩形截面偏压柱 中间计算结果MLcy 的值 用来计算qcz(框架q)
     */
    @Column(name = "mlcys")
    @DoubleDecimal
    private double mlcys ;
    /**
     * 非强梁弱柱型MUcy 中间计算结果mucyb 的值 用来计算qcz(框架q)
     */
    @Column(name = "mucyb")
    @DoubleDecimal
    private double mucyb ;
    /**
     * 非强梁弱柱型mlcyb 中间计算结果mlcyb 的值 用来计算qcz(框架q)
     */
    @Column(name = "mlcyb")
    @DoubleDecimal
    private double mlcyb ;

    @Column(name = "mucy")
    @DoubleDecimal
    private double mucy ;

    @Column(name = "mlcy")
    @DoubleDecimal
    private double mlcy ;

    /**
     * 通过 Mcy 得到的 Qcz 的值
     */
    @Column(name = "qczm")
    @DoubleDecimal
    private double qczM ;

    /**
     * 通过 N 得到的Qcz 的值
     *
     */
    @Column(name = "qczn")
    @DoubleDecimal
    private double qczN ;

    /**
     * 每根柱楼层屈服剪力 取qczM 和qczN 两个中的较小值
     */
    @Column(name = "qcz")
    @DoubleDecimal
    private double qcz ;
    /**
     * 每层楼的屈服剪力 qcz 之和
     */
    @Column(name = "qz")
    @DoubleDecimal
    private double qz ;

    /**
     * 填充墙层间现有受剪承载力 Qmy
     */
    @Column(name = "qmy")
    @DoubleDecimal
    private double qmy ;


    /**
     * 柱编号 形式为 A、B、C 或者 1、2、3
     */
    @Column(name = "pillar_code")
    private String pillarCode;

    /**
     * 层号
     */
    @Column(name = "floor_num")
    private Integer floorNum ;

    /**
     *每榀间距放到层参数里比较好。
     */
    @Column(name = "truss_spacing")
    private Double trussSpacing;


    @Column(name = "del_flag")
    private String delFlag ;

//    private double

    @Column(name = "extends1")
    private double extends1;

    @Column(name = "extends2")
    private String extends2;

    @Column(name = "extends3")
    private String extends3;

    @Column(name = "extends4")
    private String extends4;

    @Column(name = "extends5")
    private String extends5;

    @Column(name = "extends6")
    private String extends6;

    @Column(name = "extends7")
    private String extends7;

    @Column(name = "extends8")
    private String extends8;

    @Column(name = "extends9")
    private String extends9;

    @Column(name = "extends10")
    private String extends10;

//    private
}
